<%@ page language="java" pageEncoding="UTF-8"%><%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/pages/common/auth_header4form.jsp"%>
<script type="text/javascript">
        $().ready(function() {
        	$("#firstform").validate();
		
			// 输入框获得焦点时，样式设置   
			$('input').focus(function(){   
				if($(this).is(":text") || $(this).is(":password"))   
					$(this).addClass('focus');   
				if ($(this).hasClass('have_tooltip')) {   
					$(this).parent().parent().removeClass('field_normal').addClass('field_focus');   
				}   
			});   
			
			// 输入框失去焦点时，样式设置   
			$('input').blur(function() {   
				$(this).removeClass('focus');   
				if ($(this).hasClass('have_tooltip')) {   
					$(this).parent().parent().removeClass('field_focus').addClass('field_normal');   
				}   
			});
	});
    </script>

</head>
<body>
<h1 align="left">添加分类型表</h1><br>
<form id="firstform" name="firstform" action="${ctx}/addClassType.do" method="post">

	<table cellpadding="0" cellspacing="0" >
			<tr>
                <td align="right"  >描述:</td>
                <td align="left"  >
	                	<textarea cols="100" rows="4" id="description" name="description" style="width:400px" class="" ></textarea>
                </td>
                <td align="left"></td>
            </tr>
			<tr>
                <td align="right"  >名称:</td>
                <td align="left"  >
	                	<input name="name" type="text" id="name" 
	                	class="required " />
                </td>
                <td align="left"></td>
            </tr>
			<tr>
                <td align="right"  >父节点:</td>
                <td align="left"  >
	                	<input name="parent" type="text" id="parent" 
	                	class="required " />
                </td>
                <td align="left"></td>
            </tr>
			<tr>
                <td align="right"  >节点图片:</td>
                <td align="left"  >
	                	<input name="ico" type="text" id="ico" 
	                	class="" />
                </td>
                <td align="left"></td>
            </tr>
			<tr>
                <td align="right"  >编码:</td>
                <td align="left"  >
	                	<input name="code" type="text" id="code" 
	                	class="required " />
                </td>
                <td align="left"></td>
            </tr>
            <tr>
                <td align="right"  ></td>
                <td align="left"  >
                	<div class="button">
                	   <input id="btnSubmit" type="submit" name="btnSubmit" value="提  交"></iuput>
                    </div>
                </td>
                <td align="left"></td>
            </tr>
        </table>
 
</form>
</body>
</html>